﻿using ChBusiness.PubInfo;
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class InsUrge_ts_query : PageBase
{
    public static string d_s;
    public static string d_e;
    public static string tsman;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            RepeaterDataBind();
        }
    }

    /// <summary>
    /// 绑定投诉信息
    /// </summary>
    protected void RepeaterDataBind()
    {
        TsInfoManager tsinfo = new TsInfoManager();
        Repeater1.DataSource = tsinfo.Ywinfo(d_s, d_e, tsman);
        Repeater1.DataBind();
    }

    protected void Submit_Click(object sender, EventArgs e)
    {
        d_s = this.Date_begin.Value.ToString();
        d_e = this.Date_end.Value.ToString();
        tsman = this.s_tsman.Value.ToString();
        RepeaterDataBind();
    }

    protected void AddTs_Click(object sender, EventArgs e)
    {
        this.Response.Redirect("ts_guanli.aspx");
    }
}
